<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <script src="https://cdn.jsdelivr.net/npm/vue@2/dist/vue.js"></script>

  <!-- 引入Bootstrap 5稳定版的CSS -->
  <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet">

  <!-- 引入Bootstrap 5稳定版的JS -->
  <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"></script>
</head>

<body>
  <div id="app">
    输入框<input type="text" v-model="name"><br>
    单选框 <input type="checkbox" v-model="checked" value="true"><br>
    复选框
    <input type="radio" v-model="radioValue" value="A" name="选择"> A
    <input type="radio" v-model="radioValue" value="B" name="选择"> B
    <input type="radio" v-model="radioValue" value="C" name="选择"> C
    <input type="radio" v-model="radioValue" value="D" name="选择"> D

    <br>
    下拉框
    <select v-model="selectValue">
      <option value="北京">北京</option>
      <option value="上海">上海</option>
      <option value="广州">广州</option>
      <option value="深圳">深圳</option>

    </select> <br>
    <area shape="rect" coords="" href="" alt="" aria-placeholder="请输入内容">

    <textarea v-model="message" placeholder="请输入内容"></textarea>






  </div>

</body>

<script>
  // 创建Vue实例
  var app = new Vue({
    el: '#app',
    data: {
      selectValue: '深圳',
      radioValue: 'D',
      checked: true,
      name: 'Vue.js',
      message: 'Hello Vue.js!'   // 定义data数据
    },
    methods: {
      changeMessage: function () {
        this.message = 'Hello World!'; // 定义changeMessage方法，修改message数据
      }
    }
  }); 
</script>

</html>